package com.kcwl.carrier.infrastructure.enums;


/**
 * @author healen
 */

public enum CarrierStatusEnum {

    FREE(0, "空闲中"),
    STOP_ORDER(1, "暂停接单"),
    TRANSPORT(2, "运输中"),
    ;

    private int code;

    private String msg
            ;

    CarrierStatusEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return msg;
    }
}
